package per.ethan.cloud.common.config;

/**
 * @author Ethan
 * @date 2020/03/29 21:17
 */
//@RefreshScope
//@Configuration
//@ConditionalOnProperty(prefix = "spring.datasource", name = "type", havingValue = "com.alibaba.druid.pool.DruidDataSource")
public class DruidConfig {

    /*@Bean("primaryDatasource")
    @Primary
    @ConfigurationProperties(prefix = "spring.datasource.druid", ignoreInvalidFields = true)
    public DataSource dataSource() {
        return DruidDataSourceBuilder.create().build();
    }*/

}
